<template>
  <div id="app">
    <el-container class="app-container">
      <el-header>Header</el-header>
      <el-container>
        <el-aside width="200px">
          <SideBar />
        </el-aside>
        <el-main>
          <router-view />
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script>
import SideBar from './components/sideBar'
export default {
  name: 'App',
  components: {
    SideBar
  }
}
</script>

<style lang="scss">
html,
body,
#app,
.app-container {
  height: 100%;
}

body {
  margin: 0;
}

.el-header,
.el-footer {
  background-color: #b3c0d1;
  color: #333;
  text-align: center;
  line-height: 60px;
}

.el-aside {
  background-color: #d3dce6;
  color: #333;
}

.el-main {
  background-color: #e9eef3;
  color: #333;
}

body > .el-container {
  margin-bottom: 40px;
}
</style>
